package com.invengo.library_rfid.analyze.utils.uhf.utils;

public class LongUtils {
    public static boolean TryParse(String in, long out) {
        if (in == null) {
            out = 0;
            return false;
        }
        try {
            out = Long.parseLong(in);
            return true;
        } catch (NumberFormatException e) {
            out = 0;
            return false;
        }
    }
}
